<?php

namespace Tbf\Bundle\JobTriggerBundle\Command;

use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Tbf\Bundle\TbfBundle\Command\TbfCommand;

class JobTriggerCommand extends TbfCommand
{
    protected $dbal_connection;
    protected function configure()
    {
        $this
            ->setName('tbf:job_trigger')
            ->setDescription('handle some cron job');
    }

    protected function execute(InputInterface $input, OutputInterface $output)
    {
        $this->get('tbf.job_trigger')->execute();
    }
}
